Skip to content

feat(rules): add AWS discovery cleanup rules#62

Merged
dannysteenman merged 3 commits intomainfrom
codex/add-aws-discovery-rules
Apr 9, 2026
Merged

feat(rules): add AWS discovery cleanup rules#62
dannysteenman merged 3 commits intomainfrom
codex/add-aws-discovery-rules

Conversation

@dannysteenman
Copy link
Copy Markdown
Member

Summary

  • Added three AWS discovery rules for stopped EC2 instances, old manual RDS snapshots, and idle SageMaker endpoints.
  • Extended AWS discovery hydration so EC2 instances expose parsed stop timestamps and SageMaker discovery can aggregate 14-day endpoint invocation totals from CloudWatch.
  • Updated rule metadata, exports, tests, docs, and added published-package changesets for @cloudburn/sdk and @cloudburn/rules.

Diagram

flowchart LR
  RE["AWS Resource Explorer"] --> SDK["@cloudburn/sdk discovery loaders"]
  CW["CloudWatch metrics"] --> SDK
  SDK --> EC2["aws-ec2-instances\nstoppedAt"]
  SDK --> RDS["aws-rds-snapshots\nmanual snapshot age"]
  SDK --> SM["aws-sagemaker-endpoint-activity\n14d invocations"]
  EC2 --> Rules["@cloudburn/rules discovery evaluation"]
  RDS --> Rules
  SM --> Rules
Loading

Scope

  • cloudburn (cli)
  • @cloudburn/sdk
  • @cloudburn/rules
  • docs/community files

Release Notes

  • Added a .changeset/*.md file for published package changes
  • No published package changes in this PR

Verification

  • pnpm lint
  • pnpm typecheck
  • pnpm test
  • pnpm build
  • pnpm verify

Boundary Checks

  • No engine/parser/provider logic added to @cloudburn/rules
  • CLI delegates scan logic to SDK
  • README/CONTRIBUTING/docs updated when behavior changed

@dannysteenman dannysteenman added the enhancement New feature or request label Apr 9, 2026
@dannysteenman dannysteenman requested a review from axonstone April 9, 2026 09:25
@dannysteenman dannysteenman merged commit 4d25e80 into main Apr 9, 2026
6 checks passed
@dannysteenman dannysteenman deleted the codex/add-aws-discovery-rules branch April 9, 2026 11:45
@github-actions github-actions bot mentioned this pull request Apr 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant